var path = require("path");
module.exports = {
	mode: 'development', // mode 用来指定构建模式development、production
	entry: './src/main.js',
	devServer:{
		port: 8099,	//端口号
		open:true	//默认打开浏览器
	},

	output: {
		path: path.resolve(__dirname, './dist'),
		filename: 'index.js'
	}
};